<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="/templates/ui.xhtml">

    <ui:define name="head">
        <style type="text/css">
            .col-label {
                width: 110px;
            }
            .col-label2 {
                padding-left: 80px;
                width: 110px;
            }
            .col-input {
                width: 120px;
            }
            .col-input-200 {
                width: 300px;
            }
        </style>

    </ui:define>

    <ui:define name="content">
        <div style="margin:5px 15px 5px 15px">
            <p:growl id="msgs" showDetail="false"/>
            <h:form id="form">

                <ui:include src="payVoucherForm.xhtml">
                     <ui:param name="backBean" value="#{payVchDetlAction}" />
                </ui:include>

                <p:separator style="margin-top:15px;"/>
                <p:dataTable id="logpdt" style="margin-top:5px;"
                             value="#{payVchDetlAction.logList}" var="log"
                             emptyMessage="日志记录为空...">
                    <p:column id="jobname" headerText="操作动作" style="text-align:center">
                        <h:outputText value="#{log.jobname}"/>
                    </p:column>
                    <p:column id="jobdesc" headerText="操作日志">
                        <h:outputText value="#{log.jobdesc}"/>
                    </p:column>
                    <p:column id="jobusername" headerText="操作人员" style="text-align:center">
                        <h:outputText value="#{log.jobusername}"/>
                    </p:column>
                    <p:column id="jobtime" headerText="操作时间" style="text-align:center">
                        <h:outputText value="#{log.jobtime}">
                            <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8"/>
                        </h:outputText>
                    </p:column>

                </p:dataTable>

            </h:form>
        </div>
    </ui:define>

</ui:composition>